package com.molichuxing.services.infrastructure.bean;

import com.molichuxing.framework.bean.RootBean;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

public class EnterpriseBean extends RootBean {
    /**
     *  id
     */
    private Integer id;

    /**
     * 订单号 order_code
     */
    private Long orderCode;

    /**
     * 企业id enterprise_id
     */
    private Integer enterpriseId;

    /**
     * 排期id schedule_id
     */
    private Integer scheduleId;

    /**
     * 还款期数 repayment_periods
     */
    private Integer repaymentPeriods;

    /**
     * 流水编号 serial_number
     */
    private String serialNumber;

    /**
     * 付款时间 pay_time
     */
    private LocalDateTime payTime;

    /**
     * 付款方 payer
     */
    private String payer;

    /**
     * 付款方账号 payer_account
     */
    private String payerAccount;

    /**
     * 收款方 payee
     */
    private String payee;

    /**
     * 收款开户行 payee_bank
     */
    private String payeeBank;

    /**
     * 收款方账号 payee_account
     */
    private String payeeAccount;

    /**
     * 到账金额 arrival_amount
     */
    private BigDecimal arrivalAmount;

    /**
     * 备注 remark
     */
    private String remark;

    /**
     * 流水凭证 voucher_img
     */
    private String voucherImg;

    /**
     * 创建时间 gmt_create
     */
    private LocalDateTime gmtCreate;

    /**
     * 修改时间 gmt_modified
     */
    private LocalDateTime gmtModified;

    /**
     * payment_enterprise
     */
    private static final long serialVersionUID = 1L;

    /**
     * 
     * @date 2020-06-03 15:52:11
     * @return id 
     */
    @Override
    public Integer getId() {
        return id;
    }

    /**
     * 
     * @date 2020-06-03 15:52:11
     * @param id 
     */
    @Override
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 订单号
     * @date 2020-06-03 15:52:11
     * @return order_code 订单号
     */
    public Long getOrderCode() {
        return orderCode;
    }

    /**
     * 订单号
     * @date 2020-06-03 15:52:11
     * @param orderCode 订单号
     */
    public void setOrderCode(Long orderCode) {
        this.orderCode = orderCode;
    }

    /**
     * 企业id
     * @date 2020-06-03 15:52:11
     * @return enterprise_id 企业id
     */
    public Integer getEnterpriseId() {
        return enterpriseId;
    }

    /**
     * 企业id
     * @date 2020-06-03 15:52:11
     * @param enterpriseId 企业id
     */
    public void setEnterpriseId(Integer enterpriseId) {
        this.enterpriseId = enterpriseId;
    }

    /**
     * 排期id
     * @date 2020-06-03 15:52:11
     * @return schedule_id 排期id
     */
    public Integer getScheduleId() {
        return scheduleId;
    }

    /**
     * 排期id
     * @date 2020-06-03 15:52:11
     * @param scheduleId 排期id
     */
    public void setScheduleId(Integer scheduleId) {
        this.scheduleId = scheduleId;
    }

    /**
     * 还款期数
     * @date 2020-06-03 15:52:11
     * @return repayment_periods 还款期数
     */
    public Integer getRepaymentPeriods() {
        return repaymentPeriods;
    }

    /**
     * 还款期数
     * @date 2020-06-03 15:52:11
     * @param repaymentPeriods 还款期数
     */
    public void setRepaymentPeriods(Integer repaymentPeriods) {
        this.repaymentPeriods = repaymentPeriods;
    }

    /**
     * 流水编号
     * @date 2020-06-03 15:52:11
     * @return serial_number 流水编号
     */
    public String getSerialNumber() {
        return serialNumber;
    }

    /**
     * 流水编号
     * @date 2020-06-03 15:52:11
     * @param serialNumber 流水编号
     */
    public void setSerialNumber(String serialNumber) {
        this.serialNumber = serialNumber == null ? null : serialNumber.trim();
    }

    /**
     * 付款时间
     * @date 2020-06-03 15:52:11
     * @return pay_time 付款时间
     */
    public LocalDateTime getPayTime() {
        return payTime;
    }

    /**
     * 付款时间
     * @date 2020-06-03 15:52:11
     * @param payTime 付款时间
     */
    public void setPayTime(LocalDateTime payTime) {
        this.payTime = payTime;
    }

    /**
     * 付款方
     * @date 2020-06-03 15:52:11
     * @return payer 付款方
     */
    public String getPayer() {
        return payer;
    }

    /**
     * 付款方
     * @date 2020-06-03 15:52:11
     * @param payer 付款方
     */
    public void setPayer(String payer) {
        this.payer = payer == null ? null : payer.trim();
    }

    /**
     * 付款方账号
     * @date 2020-06-03 15:52:11
     * @return payer_account 付款方账号
     */
    public String getPayerAccount() {
        return payerAccount;
    }

    /**
     * 付款方账号
     * @date 2020-06-03 15:52:11
     * @param payerAccount 付款方账号
     */
    public void setPayerAccount(String payerAccount) {
        this.payerAccount = payerAccount == null ? null : payerAccount.trim();
    }

    /**
     * 收款方
     * @date 2020-06-03 15:52:11
     * @return payee 收款方
     */
    public String getPayee() {
        return payee;
    }

    /**
     * 收款方
     * @date 2020-06-03 15:52:11
     * @param payee 收款方
     */
    public void setPayee(String payee) {
        this.payee = payee == null ? null : payee.trim();
    }

    /**
     * 收款开户行
     * @date 2020-06-03 15:52:11
     * @return payee_bank 收款开户行
     */
    public String getPayeeBank() {
        return payeeBank;
    }

    /**
     * 收款开户行
     * @date 2020-06-03 15:52:11
     * @param payeeBank 收款开户行
     */
    public void setPayeeBank(String payeeBank) {
        this.payeeBank = payeeBank == null ? null : payeeBank.trim();
    }

    /**
     * 收款方账号
     * @date 2020-06-03 15:52:11
     * @return payee_account 收款方账号
     */
    public String getPayeeAccount() {
        return payeeAccount;
    }

    /**
     * 收款方账号
     * @date 2020-06-03 15:52:11
     * @param payeeAccount 收款方账号
     */
    public void setPayeeAccount(String payeeAccount) {
        this.payeeAccount = payeeAccount == null ? null : payeeAccount.trim();
    }

    /**
     * 到账金额
     * @date 2020-06-03 15:52:11
     * @return arrival_amount 到账金额
     */
    public BigDecimal getArrivalAmount() {
        return arrivalAmount;
    }

    /**
     * 到账金额
     * @date 2020-06-03 15:52:11
     * @param arrivalAmount 到账金额
     */
    public void setArrivalAmount(BigDecimal arrivalAmount) {
        this.arrivalAmount = arrivalAmount;
    }

    /**
     * 备注
     * @date 2020-06-03 15:52:11
     * @return remark 备注
     */
    public String getRemark() {
        return remark;
    }

    /**
     * 备注
     * @date 2020-06-03 15:52:11
     * @param remark 备注
     */
    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    /**
     * 流水凭证
     * @date 2020-06-03 15:52:11
     * @return voucher_img 流水凭证
     */
    public String getVoucherImg() {
        return voucherImg;
    }

    /**
     * 流水凭证
     * @date 2020-06-03 15:52:11
     * @param voucherImg 流水凭证
     */
    public void setVoucherImg(String voucherImg) {
        this.voucherImg = voucherImg == null ? null : voucherImg.trim();
    }

    /**
     * 创建时间
     * @date 2020-06-03 15:52:11
     * @return gmt_create 创建时间
     */
    @Override
    public LocalDateTime getGmtCreate() {
        return gmtCreate;
    }

    /**
     * 创建时间
     * @date 2020-06-03 15:52:11
     * @param gmtCreate 创建时间
     */
    @Override
    public void setGmtCreate(LocalDateTime gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    /**
     * 修改时间
     * @date 2020-06-03 15:52:11
     * @return gmt_modified 修改时间
     */
    @Override
    public LocalDateTime getGmtModified() {
        return gmtModified;
    }

    /**
     * 修改时间
     * @date 2020-06-03 15:52:11
     * @param gmtModified 修改时间
     */
    @Override
    public void setGmtModified(LocalDateTime gmtModified) {
        this.gmtModified = gmtModified;
    }

    /**
     *
     * @mbg.generated
     */
    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        EnterpriseBean other = (EnterpriseBean) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getOrderCode() == null ? other.getOrderCode() == null : this.getOrderCode().equals(other.getOrderCode()))
            && (this.getEnterpriseId() == null ? other.getEnterpriseId() == null : this.getEnterpriseId().equals(other.getEnterpriseId()))
            && (this.getScheduleId() == null ? other.getScheduleId() == null : this.getScheduleId().equals(other.getScheduleId()))
            && (this.getRepaymentPeriods() == null ? other.getRepaymentPeriods() == null : this.getRepaymentPeriods().equals(other.getRepaymentPeriods()))
            && (this.getSerialNumber() == null ? other.getSerialNumber() == null : this.getSerialNumber().equals(other.getSerialNumber()))
            && (this.getPayTime() == null ? other.getPayTime() == null : this.getPayTime().equals(other.getPayTime()))
            && (this.getPayer() == null ? other.getPayer() == null : this.getPayer().equals(other.getPayer()))
            && (this.getPayerAccount() == null ? other.getPayerAccount() == null : this.getPayerAccount().equals(other.getPayerAccount()))
            && (this.getPayee() == null ? other.getPayee() == null : this.getPayee().equals(other.getPayee()))
            && (this.getPayeeBank() == null ? other.getPayeeBank() == null : this.getPayeeBank().equals(other.getPayeeBank()))
            && (this.getPayeeAccount() == null ? other.getPayeeAccount() == null : this.getPayeeAccount().equals(other.getPayeeAccount()))
            && (this.getArrivalAmount() == null ? other.getArrivalAmount() == null : this.getArrivalAmount().equals(other.getArrivalAmount()))
            && (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()))
            && (this.getVoucherImg() == null ? other.getVoucherImg() == null : this.getVoucherImg().equals(other.getVoucherImg()))
            && (this.getGmtCreate() == null ? other.getGmtCreate() == null : this.getGmtCreate().equals(other.getGmtCreate()))
            && (this.getGmtModified() == null ? other.getGmtModified() == null : this.getGmtModified().equals(other.getGmtModified()));
    }

    /**
     *
     * @mbg.generated
     */
    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getOrderCode() == null) ? 0 : getOrderCode().hashCode());
        result = prime * result + ((getEnterpriseId() == null) ? 0 : getEnterpriseId().hashCode());
        result = prime * result + ((getScheduleId() == null) ? 0 : getScheduleId().hashCode());
        result = prime * result + ((getRepaymentPeriods() == null) ? 0 : getRepaymentPeriods().hashCode());
        result = prime * result + ((getSerialNumber() == null) ? 0 : getSerialNumber().hashCode());
        result = prime * result + ((getPayTime() == null) ? 0 : getPayTime().hashCode());
        result = prime * result + ((getPayer() == null) ? 0 : getPayer().hashCode());
        result = prime * result + ((getPayerAccount() == null) ? 0 : getPayerAccount().hashCode());
        result = prime * result + ((getPayee() == null) ? 0 : getPayee().hashCode());
        result = prime * result + ((getPayeeBank() == null) ? 0 : getPayeeBank().hashCode());
        result = prime * result + ((getPayeeAccount() == null) ? 0 : getPayeeAccount().hashCode());
        result = prime * result + ((getArrivalAmount() == null) ? 0 : getArrivalAmount().hashCode());
        result = prime * result + ((getRemark() == null) ? 0 : getRemark().hashCode());
        result = prime * result + ((getVoucherImg() == null) ? 0 : getVoucherImg().hashCode());
        result = prime * result + ((getGmtCreate() == null) ? 0 : getGmtCreate().hashCode());
        result = prime * result + ((getGmtModified() == null) ? 0 : getGmtModified().hashCode());
        return result;
    }

    /**
     *
     * @mbg.generated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", orderCode=").append(orderCode);
        sb.append(", enterpriseId=").append(enterpriseId);
        sb.append(", scheduleId=").append(scheduleId);
        sb.append(", repaymentPeriods=").append(repaymentPeriods);
        sb.append(", serialNumber=").append(serialNumber);
        sb.append(", payTime=").append(payTime);
        sb.append(", payer=").append(payer);
        sb.append(", payerAccount=").append(payerAccount);
        sb.append(", payee=").append(payee);
        sb.append(", payeeBank=").append(payeeBank);
        sb.append(", payeeAccount=").append(payeeAccount);
        sb.append(", arrivalAmount=").append(arrivalAmount);
        sb.append(", remark=").append(remark);
        sb.append(", voucherImg=").append(voucherImg);
        sb.append(", gmtCreate=").append(gmtCreate);
        sb.append(", gmtModified=").append(gmtModified);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}